package com.webdev.dao.imp;

import com.webdev.dao.RecordDao;
import com.webdev.domain.Record;

public class RecordDaoImp implements RecordDao {
    MySql mysql = new MySql();
	@Override
	public void signIn(Record record) {
		String sql = "insert into rec(rdate,rstate,rinfo,pid) values('"
				     + record.getRdate() + "',"
				     + record.getRstate() + ",'"
				     + record.getRinfo() + "',"
				     + record.getPid() + ");";
		mysql.insert(sql);		             
	}
}
